package com.travel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * (TbHomeOrder)实体类
 *
 * @author makejava
 * @since 2023-11-07 12:01:53
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TbHomeOrder implements Serializable {
    private static final long serialVersionUID = -68501457801125857L;
    @TableId(type = IdType.AUTO)
    private String homeOrderId;
    
    private Integer userId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date homeOrderTime;
    
    private String homeOrderName;
    
    private String homeOrderType;
    
    private BigDecimal homeOrderPrice;
    
    private Integer homeOrderStatus;

    @TableField(exist = false)
    private Integer homeId;

    @TableField(exist = false)
    private String userName;



}

